let states = {
    token:''
}

export const userRedux= (state=states,action)=>{
    switch(action.type){
        case 'set':
                state.token = action.token
                return  state
        
        default:
            return state;
            
    }
   
}
